var exec = require('cordova/exec');

exports.coolMethod = function (arg0, success, error) {
    exec(success, error, 'NetworkConnectInfoPlugin', 'coolMethod', [arg0]);
};

exports.requestPermission = function (success, error) {
    exec(success, error, 'NetworkConnectInfoPlugin', 'requestPermission');
};

exports.getConnectWifiInfo = function (success, error) {
    exec(success, error, 'NetworkConnectInfoPlugin', 'getConnectWifiInfo');
};
